<?php 
namespace Weixin\Controller;
use Think\Controller;
class BaseController extends Controller{
	
	public $weObj;
	
	function _initialize() {
		import('@.Lib.MiniWx.wechat');
		$this->weObj = new \Wechat(C('WEIXIN_CONFIG')); //创建实例对象
	}
}
?>